import 'package:flutter/material.dart';
import 'package:smart_ai_dart/consts/sizes.dart';

class Gaps {
  static Widget hGap(double gap) {
    return SizedBox(width: gap);
  }

  static Widget get hGap5 {
    return hGap(Sizes.gap_dp5);
  }

  static Widget get hGap8 {
    return hGap(Sizes.gap_dp8);
  }

  static Widget get hGap10 {
    return hGap(Sizes.gap_dp10);
  }

  static Widget get hGap12 {
    return hGap(Sizes.gap_dp12);
  }

  static Widget get hGap16 {
    return hGap(Sizes.gap_dp16);
  }

  static Widget get hGap20 {
    return hGap(Sizes.gap_dp20);
  }

  static Widget get hGap30 {
    return hGap(Sizes.gap_dp30);
  }

  static Widget get hGap40 {
    return hGap(Sizes.gap_dp40);
  }

  static Widget get hGap50 {
    return hGap(Sizes.gap_dp50);
  }

  static Widget vGap(double gap) {
    return SizedBox(height: gap);
  }

  static Widget get vGap5 {
    return vGap(Sizes.gap_dp5);
  }

  static Widget get vGap8 {
    return vGap(Sizes.gap_dp8);
  }

  static Widget get vGap10 {
    return vGap(Sizes.gap_dp10);
  }

  static Widget get vGap12 {
    return vGap(Sizes.gap_dp12);
  }

  static Widget get vGap16 {
    return vGap(Sizes.gap_dp16);
  }

  static Widget get vGap20 {
    return vGap(Sizes.gap_dp20);
  }

  static Widget get vGap24 {
    return vGap(Sizes.gap_dp24);
  }

  static Widget get vGap30 {
    return vGap(Sizes.gap_dp30);
  }

  static Widget get vGap40 {
    return vGap(Sizes.gap_dp40);
  }

  static Widget get vGap50 {
    return vGap(Sizes.gap_dp50);
  }

  static const Widget line = Divider();

  static const Widget empty = SizedBox.shrink();
}
